import Vue from 'vue'
import App from './App'
import store from './store' // store
import plugins from './plugins' // plugins
import './permission' // permission
import uView from '@/uni_modules/uview-ui'
import {myRequest} from './utils/c.js'
// 引入lodash 
import _ from 'lodash';
// 把lodash挂载在原型上面
Vue.prototype.$_ = _ ; 
Vue.use(uView)
Vue.use(plugins)
Vue.prototype.$myRequest = myRequest
Vue.config.productionTip = false
Vue.prototype.$store = store

App.mpType = 'app'

const app = new Vue({
  ...App,
  store,

})

app.$mount()
